
using System;
using System.Text;
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using Entity;

namespace Data
{
	public class DAPostulantesPlan
	{

        public static DataTable ListarPostulantesxPlan(string strCodPlanAdmision)
        {
            SqlDatabase sqlPostulantesxPlan = new SqlDatabase(Configuracion.GetConnection);
            DbCommand dbCmd = sqlPostulantesxPlan.GetStoredProcCommand("plst_PostulantesxPlan");
            sqlPostulantesxPlan.AddInParameter(dbCmd, "@strCodPlanAdmision", DbType.String, strCodPlanAdmision);
            return sqlPostulantesxPlan.ExecuteDataSet(dbCmd).Tables[0];
        }

	}
}
      